import Vue from 'vue'
import Router from 'vue-router'
import IndexPage from '@/components/Index/Index'
import Care from '@/components/Care/Care'
import Message from '@/components/Message/Message'
import Mine from '@/components/Mine/Mine'

Vue.use(Router)

export default new Router({
    routes: [
        {
            path : '/',
            redirect : '/index'
        },
        {
            path : '/index',
            component : IndexPage
        },
        {
            path : '/care',
            component : Care
        },
        {
            path : '/message',
            component : Message
        },
        {
            path : '/mine',
            component : Mine
        }
    ]
})
